package com.smart.manager.system.entities.body;

import com.smart.common.entities.core.BaseSearch;
import com.smart.manager.system.entities.enums.TaskRunMode;
import com.smart.manager.system.entities.enums.TaskRunResult;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;


/**
 *
 *
 * @author xiaxuqiu
 * @date 2023/03/26
 */
public class RSystemScheduleRecord {

    @Data
    @EqualsAndHashCode(callSuper = true)
    @ApiModel("RSystemScheduleRecord1")
    public static class SearchBody extends BaseSearch {
        /**
         * 任务id
         */
        @ApiModelProperty(value = "任务ID")
        private Long taskId;

        /**
         * 运行日期
         */
        @ApiModelProperty(value = "执行时间段")
        private String runDateRange;

        /**
         * 是自动运行
         */
        @ApiModelProperty(value = "执行方式")
        private TaskRunMode runMode;

        /**
         * 执行结果
         */
        @ApiModelProperty(value = "执行结果")
        private TaskRunResult runResult;
    }



}
